package com.ruicar.afs.cloud.apply.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.apply.common.condition.SendMessageCondition;
import com.ruicar.afs.cloud.apply.common.entity.ApplySmsSend;
import com.ruicar.afs.cloud.common.core.util.IResponse;

/**
 * @author: mingzhi.li
 * @date: 2020/8/7 16:45
 * @description:短信发送
 */
public interface ApplySmsSendService extends IService<ApplySmsSend> {

    /**
     * 发送短息
     *
     * @param condition
     * @return
     */
    IResponse send(SendMessageCondition condition);

    /**
     * 短信验证码校验
     *
     * @param condition
     * @return
     */
    IResponse check(SendMessageCondition condition);
}
